Previous Book Contents Book Index Next

Inside Macintosh: Mac OS 8 Toolbox Reference /
Chapter 2 - Control Manager Reference / Control Manager Types and Constants


Radio Button Value Constants

CHANGED WITH THE APPEARANCE MANAGER

These constants specify the value of a standard radio button control and are passed in the newValue parameter of SetControlValue and are returned by GetControlValue.

enum {
   kControlRadioButtonUncheckedValue = 0,
   kControlRadioButtonCheckedValue   = 1,
   kControlRadioButtonMixedValue     = 2 
};

Constant descriptions

kControlRadioButtonUncheckedValue
The radio button is unselected.
kControlRadioButtonCheckedValue
The radio button is selected.
kControlRadioButtonMixedValue
Mixed value. Indicates that a setting is on for some elements in a selection and off for others. This state only applies to standard Appearance-compliant radio buttons.
WHEN THE APPEARANCE MANAGER IS NOT AVAILABLE
Pre-Appearance radio buttons do not support the mixed state value constant kControlRadioButtonMixedValue.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
8 JAN 1998